import { PerspectiveCamera } from 'three'

function createPerspectiveCamera (options={}) {
    const { fov, aspect, near, far, zoom } = options
    let camera = new PerspectiveCamera(fov, aspect, near, far)
    if (zoom) {
        camera.zoom = zoom
    }
    return camera
}

export {
    createPerspectiveCamera
}
